package com.good.product.server.model;

import com.good.common.model.BaseModel;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.math.BigDecimal;

/**
 * @packageName: com.good.product.server.model
 * @description:
 * @author: cuiP
 * @date: 2018/5/20 22:46
 * @version: V1.0.0
 */
@Data
@EqualsAndHashCode(callSuper = true)
public class ProductInfo extends BaseModel<ProductInfo>{

    /**
     * 名字
     */
    private String name;

    /**
     * 单价
     */
    private BigDecimal price;

    /**
     * 库存
     */
    private Integer stock;

    /**
     * 描述
     */
    private String description;

    /**
     * 小图
     */
    private String icon;

    /**
     * 状态, 0正常1下架
     */
    private Integer status;

    /**
     *  类目编号
     */
    private Integer categoryType;
}
